#include <stdio.h>
#include <fgs_game.h>

int main(int argc, char** argv)
{
	fgs_ctx_t* fgs_ctx;
	fgs_callbacks_t *fgs_cbs;
	fgs_uuid_t fgs_match_id;

	fgs_init_callbacks(&fgs_cbs, FGS_TCP);

	fgs_init(&fgs_ctx, "TestCase", "1.0", 1010, fgs_cbs);

	fgs_new_match(fgs_ctx, &fgs_match_id);
	fgs_update_match(fgs_ctx, fgs_match_id, "GameTime", FGS_INT, 8);
	fgs_update_match(fgs_ctx, fgs_match_id, "GameTime", FGS_INT, 9);
	fgs_update_match(fgs_ctx, fgs_match_id, "GameTime", FGS_INT, 9);
	fgs_update_match(fgs_ctx, fgs_match_id, "GameTime", FGS_INT, 10);
	fgs_update_match(fgs_ctx, fgs_match_id, "GameTime", FGS_INT, 11);
	fgs_end_match(fgs_ctx, fgs_match_id);

	fgs_shutdown(fgs_ctx);

	return 0;
}
